using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Park.Net.Model
{
    public class CarPark
    {
        public int ID { get; set; }
        [Required]
        [StringLength(20)]
        public string? Number { get; set; }
        public string? Photo { get; set; }
        [StringLength(20)]
        public string? Type { get; set; }
        [StringLength(20)]
        public string? Status { get; set; }
        public DateTime? RentTime { get; set; }
        public int? RentDuration { get; set; }
    }


}